<template>
  <div>
    <button @click="goHome">返回首页</button>
    <img src="../../assets/images/error_images/404.png" alt="" />
  </div>
</template>

<script setup lang="ts" name="index">
import { useRouter } from 'vue-router'
const router = useRouter()
const goHome = () => {
  router.push({ path: '/' })
}
</script>

<style scoped lang="scss"></style>
